package main

import (
	"order-pro/appconfig"
	"order-pro/models"
	"order-pro/router"
)

func main() {
	//加载配置
	appconfig.Init()
	//连接mysql
	models.Init()
	//运行配置
	r := router.Init()
	r.Run(":8080")
}
